package com.smart.frame;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;

import com.smart.frame.modules.sys.service.SystemService;

@EnableCaching
@SpringBootApplication
@ServletComponentScan("com.smart.frame")
@ComponentScan(value = "com.smart.frame",lazyInit = true)
public class SmartFrameDriver {
    public static void main(String[] args) {
        new SpringApplicationBuilder(SmartFrameDriver.class).web(true).run(args);
        SystemService.printKeyLoadMessage();
    }
}
